<section id="feedbackDetail" class="ml-24 mr-24">
  <div class="clearfix ptb-10 border-b">
    <h4 class="pull-left line-height-34">用户反馈</h4>
  </div>
  <!-- //主体列表 -->
  <div class="house-sharing-list clearfix">
    <div class="house-left">
      <div class="house-scroll">
        <div class="house-title">
          <div class="dy-flex">
            <div class="dy-fx-1">序</div>
            <div class="dy-fx-3">姓名</div>
            <div class="dy-fx-3">账号</div>
            <div class="dy-fx-3">电话</div>
            <div class="dy-fx-3">提交时间</div>
            <div class="dy-fx-2">操作</div>
          </div>
        </div>
        <!-- <div v-for="single"> -->
        <div class="dy-flex color-666 house-two-tone hoverItemFeedback" style="flex-direction: column" v-for="(item, index) in data.activityAttendList">
          <div style="display:flex;width: 100%;">
            <div class="dy-fx-1">{{ index+1 }}</div>
            <div class="dy-fx-3 ellipsis-1">{{ item.name }}</div>
            <div class="dy-fx-3 ellipsis-1">{{ item.account }}</div>
            <div class="dy-fx-3 ellipsis-1">{{ item.phone }}</div>
            <div class="dy-fx-3">{{ item.submitTime | formatDate }}</div>
            <div class="dy-fx-2" style="color:#5e67a5;cursor: pointer;" @click="feedbackdel(item.activityAttendId)">
              <a href="javascript:;" v-if="quanxian.indexOf('c211') > -1">删除</a>
            </div>
          </div>
          <div class="submitContent" v-if="'submitContent' in item">
            <ul :style="{height: isShow.indexOf(item.activityAttendId) == -1 ?'40px':'auto' }">
              <li v-for="single in item.submitContent" class="color999">
                <span>{{single.name}}：</span>
                <span v-if="single.type == 'checkbox'">{{single.selectedcont.length?single.selectedcont.join(','):'--'}}</span>
                <span v-else>{{single.selectedcont? single.selectedcont:'--'}}</span>
              </li>
            </ul>

            <ul @click="seeAll(item.activityAttendId)"><span :class="isShow.indexOf(item.activityAttendId) == -1 ?'icon-spread':'icon-pack-up'"></span></ul>
          </div>
        </div>

      </div>
    </div>
  </div>

  <div class="user-page ptb-10 clearfix">
    <div class="pull-left user-page-num">
      <span class="font-14">共<i>{{data.totalCount}}</i>条记录</span>
      <span>每页
          <div class="select-ul pagenums">
                      <span class="select-name br-4 box-i-shadow" ref="totalCount">10</span>
      <ul>
        <li v-for="item in pageCounts" @click="eventPage(item)">{{item}}</li>
      </ul>
    </div>
    条</span>
  </div>
  <div class="pull-right">
    <ul class="page" id="page"></ul>
  </div>
  </div>

</section>

<script src="modules/workbench/scripts/feedbackDetail.js" charset="utf-8"></script>

<style media="screen">
  .button-footer {
    display: flex;
  }

  .button-footer>div {
    flex: 1;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #666;
    background: rgba(249, 249, 249, 1);
  }

  .button-footer .save-erweima {
    background: rgba(68, 73, 135, 1);
    color: #fff;
  }

  h4 {
    margin: 0;
  }

  .color999>span:nth-child(2) {
    color: #999
  }

  .color-cfcfcf {
    color: #cfcfcf;
  }

  .search-container-house {
    position: relative;
  }

  .show-hide-term {
    width: 59px;
    height: 30px;
    line-height: 30px;
    color: rgba(244, 174, 71, 1);
    margin-top: 5px;
    position: absolute;
    right: 0;
    bottom: 10px;
    background: rgba(244, 174, 71, 0.3);
    border-radius: 4px;
    text-align: right;
    padding-right: 5px;
  }

  .search-container-house .icon-turn-right {
    display: inline-block;
    transform: translate( -5px, 0) rotate(90deg);
  }

  .search-text {
    background: rgba(249, 249, 249, 1);
    height: 34px;
    position: relative;
    width: 220px;
    border-radius: 4px;
  }

  .search-text span {
    position: absolute;
    left: 8px;
    top: 0;
    line-height: 34px;
  }

  .search-text input {
    width: 100%;
    height: 100%;
    background: none;
    border: 0;
    outline: medium;
    text-indent: 25px;
  }

  .calendar-text {
    background: rgba(249, 249, 249, 1);
    width: 140px;
    height: 34px;
    border-radius: 4px;
  }

  .calendar-text .icon-Gm-calendar:before {
    top: 0;
    right: 0;
  }

  .calendar-text .hl-date-text {
    background: none;
    box-shadow: none;
    border: 0;
  }

  .house-sharing-text span {
    background: rgba(249, 249, 249, 1);
    box-shadow: none;
    border: 0;
    color: #666;
  }

  input::-webkit-input-placeholder {
    color: #999;
  }

  input:-moz-placeholder {
    color: #999;
  }

  input:-ms-input-placeholder {
    color: #999;
  }

  .house-sharing-list {
    margin: 10px 0 0;
    overflow: hidden;
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgba(235, 235, 235, 1);
    display: flex;
  }

  .house-sharing-list .house-left {
    width: 100%;
    border-right: 1px solid rgba(235, 235, 235, 1);
    line-height: 40px;
  }

  .house-sharing-list .house-right {
    width: 180px;
    line-height: 40px;
  }

  .house-title {
    background: rgba(240, 242, 255, 1);
    color: rgba(165, 170, 183, 1);
  }

  .house-operate {
    text-align: center;
    font-size: 0;
    height: 40px;
  }

  .house-operate a {
    font-size: 14px;
    margin: 0 3px;
  }

  .house-two-tone:nth-child(2n+1),
  .house-operate:nth-child(2n+1) {
    background: rgba(249, 249, 249, 1);
  }

  .house-two-tone-hover {
    background: rgba(240, 240, 247, 1) !important;
  }

  .submitContent {
    display: flex;
    border-top: 1px solid #E3E3E3;
  }

  .submitContent ul:nth-child(1) {
    width: 800px;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    text-indent: 24px;
  }

  .submitContent ul:nth-child(2) {
    display: flex;
    flex-direction: column-reverse;
    cursor: pointer;
    justify-content: center
  }

  .hoverItemFeedback:hover {
    background: rgba(240, 240, 247, 1) !important;
  }
</style>
